澳门人威尼斯3966(中国)有限公司-腾讯百科

[8] ErrorException in Cases.php line 96

未定义数组索引: cases_type_id

  1. $next = $next ? $next : array('cases_title' => '没有了,这是最后一条', 'id' => $id);
  2. $products['prev'] = $prev;
  3. $products['next'] = $next;
  4. $casesTypeRes = Db::name('cases_type')->where('pid', 0)->select();
  5. foreach ($casesTypeRes as $key => $value) {
  6. $casesTypeRes[$key]['childs'] = $this->casesType($value['id']);
  7. }
  8. $pid = Db::name('cases_type')->field('pid,cases_type_name')->where('id', $products['cases_type_id'])->find();
  9. $randomProduct = $this->randomProduct($products['cases_type_id']);
  10. $askRes = $this->ask();
  11. $goodServices = $this->goodService();
  12. $this->assign(array(
  13. 'products' => $products,
  14. 'casesTypeRes' => $casesTypeRes,

Call Stack

  1. in Cases.php line 96
  2. at Error::appError(8, 'Undefined index: cas...', '/www/wwwroot/www.sy0...', 96, ['id' => '326', 'products' => ['prev' => ['id' => 325, 'cases_title' => '主管椅', 'cases_keywords' => '主管椅', ...], 'next' => ['id' => 327, 'cases_title' => '弓形椅', 'cases_keywords' => '弓形椅', ...]], 'prev' => ['id' => 325, 'cases_title' => '主管椅', 'cases_keywords' => '主管椅', ...], ...]) in Cases.php line 96
  3. at Cases->casesShow()
  4. at ReflectionMethod->invokeArgs(object(Cases), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Cases), object(ReflectionMethod), ['id' => '326', 'convert' => false]) in Module.php line 131
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID smvvs4qsq6mef5sbb57jpfcbpp
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=smvvs4qsq6mef5sbb57jpfcbpp
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.sy021.com
HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.119 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.sy021.com
SERVER_PORT 443
SERVER_ADDR 172.19.71.10
REMOTE_PORT 60072
REMOTE_ADDR 104.206.93.98
SERVER_SOFTWARE nginx/1.17.10
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.sy021.com/public
DOCUMENT_URI /index.php
REQUEST_URI /products_show/id/326.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/products_show/id/326.html
SCRIPT_FILENAME /www/wwwroot/www.sy021.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1724189120.9942
REQUEST_TIME 1724189120
Environment Variablesempty
ThinkPHP Constantsempty
Baidu
sogou